﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RestApp.BusinessLogic.Abstract
{
	public interface IUsersLogic : IBaseLogic<User>
	{
		bool IsLoginExists(string login);

        IEnumerable<User> GetAllFired();

        bool VerifyUser(string login, string password);

        string[] GetAllRoles();

        string[] GetUserRoles(string login);

        User GetByLogin(string login);

		IEnumerable<User> GetWorkingUsersOnDate(DateTime date, string loginFor);

		IEnumerable<User> GetAllFilteredByLoginCredentials(string login);
	}
}
